﻿using AutoMapper;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WomanMotion.WebApi.Service.IService;

namespace WomanMotion.WebApi.Service.Service
{
    /// <summary>
    /// 服务层基类
    /// </summary>
    public class BaseService:IBaseService
    {
        /// <summary>
        /// 日志对象
        /// </summary>
        protected readonly ILogger _logger;
        /// <summary>
        /// AutoMapper对象
        /// </summary>
        protected readonly IMapper _mapper;
        public BaseService(ILogger logger, IMapper mapper)
        {
            this._logger = logger;
            this._mapper = mapper;
        }
    }
}
